﻿using System.Collections.Generic;
using DAO;
using DTO;

namespace BUS
{
    public class ThemeBUS
    {
        public static List<ThemeDTO> getAll()
        {
            return ThemeDAO.getAll();
        }

        public static ThemeDTO getAlongCode(int maTheme)
        {
            return ThemeDAO.getAlongCode(maTheme);
        }

        public static void Insert(ThemeDTO _insert)
        {
            ThemeDAO.Insert(_insert);
        }

        public static void Delete(int maTheme)
        {
            ThemeDAO.Delete(maTheme);
        }

        public static void Update(ThemeDTO dto)
        {
            ThemeDAO.Update(dto);
        }
    }
}
